package com.macro.mall.dao.sms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.sms.SmsHomeRecommendSubjectDO;
import com.macro.mall.model.sms.SmsHomeRecommendSubjectQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SmsHomeRecommendSubjectMapper  extends BaseMapper<SmsHomeRecommendSubjectDO> {
    long countByExample(SmsHomeRecommendSubjectQuery example);

    int deleteByExample(SmsHomeRecommendSubjectQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(SmsHomeRecommendSubjectDO record);

    int insertSelective(SmsHomeRecommendSubjectDO record);

    List<SmsHomeRecommendSubjectDO> selectByExample(SmsHomeRecommendSubjectQuery example);

    SmsHomeRecommendSubjectDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SmsHomeRecommendSubjectDO record, @Param("example") SmsHomeRecommendSubjectQuery example);

    int updateByExample(@Param("record") SmsHomeRecommendSubjectDO record, @Param("example") SmsHomeRecommendSubjectQuery example);

    int updateByPrimaryKeySelective(SmsHomeRecommendSubjectDO record);

    int updateByPrimaryKey(SmsHomeRecommendSubjectDO record);
}
